{extend name="public/layout"/}
{/block}
{block name="content"}


<div class="row">

    {include file="landing/landing_left"/}

    <div class="col-md-8" style="padding-top: 70px;">

        <ol class="breadcrumb">
            <li><a href="#">Home</a></li>
            <li><a href="#">落地页</a></li>
        </ol>


        <div class="actions clearfix">
            <div class="pull-left">
                <a href="{:url('landing/addlanding')}"><button type="button" class="btn  btn-primary">添加</button></a>
            </div>
        </div>

        <div class="" style="margin-top:15px;">
            <table class="table table-hover table-striped">
                <tr class="active">
                    <td>编号</td>
                    <td>落地页名</td>
                    <td>落地页路由</td>
                    <td>创建时间</td>
                    <td>操作</td>
                </tr>
                {volist name="pageList" id="vo"}
                <tr class="active">
                    <td>{$vo['id']}</td>
                    <td>{$vo['landing_name']}</td>
                    <td>{$vo['landing_url']}</td>
                    <td>{$vo['create_time']|date="Y-m-d"}</td>
                    <td>
                        <a href="{:url('landing/addcont?id='.$vo['id'])}">
                            <button type="button" class="btn btn-primary btn-xs">设计</button>
                        </a>
                        <button type="button" class="btn btn-success btn-xs">编辑</button>
                        <button type="button" class="btn btn-danger btn-xs">删除</button>
                    </td>
                </tr>
                {/volist}

            </table>
        </div>

    </div>
</div>

{/block}



